package moving;

import javax.swing.JFrame;
/**
 * COPYRIGHT(C) 2008. Natasha Khuri. All Rights Reserved.
 * This class sets up a window frame to draw a moving sun
 * @author Natasha Khuri
 * @version 1.01 2008-11-19
 */

public class CircleViewer
{
   public static void main(String[] args)
   {
      final int FRAME_WIDTH = 480;
      final int FRAME_HEIGHT = 640;
      
      JFrame frame = new JFrame();
      frame.setTitle("Circle Viewer");
      frame.setSize(FRAME_WIDTH, FRAME_HEIGHT);
      CircleComponent canvas = new CircleComponent();
      frame.add(canvas);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setVisible(true);
      

   }

}
